3.9.4 \(\int x^4 (a^2+2 a b x^2+b^2 x^4)^p \, dx\) [804]

Optimal. Leaf size=60 \[ \frac {1}{5} x^5 \left (1+\frac {b x^2}{a}\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p \, _2F_1\left (\frac {5}{2},-2 p;\frac {7}{2};-\frac {b x^2}{a}\right ) \]

[Out]

1/5*x^5*(b^2*x^4+2*a*b*x^2+a^2)^p*hypergeom([5/2, -2*p],[7/2],-b*x^2/a)/((1+b*x^2/a)^(2*p))

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 60, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {1127, 371} \begin {gather*} \frac {1}{5} x^5 \left (\frac {b x^2}{a}+1\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p \, _2F_1\left (\frac {5}{2},-2 p;\frac {7}{2};-\frac {b x^2}{a}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^4*(a^2 + 2*a*b*x^2 + b^2*x^4)^p,x]

[Out]

(x^5*(a^2 + 2*a*b*x^2 + b^2*x^4)^p*Hypergeometric2F1[5/2, -2*p, 7/2, -((b*x^2)/a)])/(5*(1 + (b*x^2)/a)^(2*p))

Rule 371

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*((c*x)^(m + 1)/(c*(m + 1)))*Hyperg
eometric2F1[-p, (m + 1)/n, (m + 1)/n + 1, (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 1127

Int[((d_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Dist[a^IntPart[p]*((a + b*x^2 +
 c*x^4)^FracPart[p]/(1 + 2*c*(x^2/b))^(2*FracPart[p])), Int[(d*x)^m*(1 + 2*c*(x^2/b))^(2*p), x], x] /; FreeQ[{
a, b, c, d, m, p}, x] && EqQ[b^2 - 4*a*c, 0] &&  !IntegerQ[2*p]

Rubi steps

\begin {align*} \int x^4 \left (a^2+2 a b x^2+b^2 x^4\right )^p \, dx &=\left (\left (1+\frac {b x^2}{a}\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p\right ) \int x^4 \left (1+\frac {b x^2}{a}\right )^{2 p} \, dx\\ &=\frac {1}{5} x^5 \left (1+\frac {b x^2}{a}\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p \, _2F_1\left (\frac {5}{2},-2 p;\frac {7}{2};-\frac {b x^2}{a}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.04, size = 51, normalized size = 0.85 \begin {gather*} \frac {1}{5} x^5 \left (\left (a+b x^2\right )^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-2 p} \, _2F_1\left (\frac {5}{2},-2 p;\frac {7}{2};-\frac {b x^2}{a}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^4*(a^2 + 2*a*b*x^2 + b^2*x^4)^p,x]

[Out]

(x^5*((a + b*x^2)^2)^p*Hypergeometric2F1[5/2, -2*p, 7/2, -((b*x^2)/a)])/(5*(1 + (b*x^2)/a)^(2*p))

________________________________________________________________________________________

Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int x^{4} \left (b^{2} x^{4}+2 a b \,x^{2}+a^{2}\right )^{p}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4*(b^2*x^4+2*a*b*x^2+a^2)^p,x)

[Out]

int(x^4*(b^2*x^4+2*a*b*x^2+a^2)^p,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(b^2*x^4+2*a*b*x^2+a^2)^p,x, algorithm="maxima")

[Out]

integrate((b^2*x^4 + 2*a*b*x^2 + a^2)^p*x^4, x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(b^2*x^4+2*a*b*x^2+a^2)^p,x, algorithm="fricas")

[Out]

integral((b^2*x^4 + 2*a*b*x^2 + a^2)^p*x^4, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{4} \left (\left (a + b x^{2}\right )^{2}\right )^{p}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**4*(b**2*x**4+2*a*b*x**2+a**2)**p,x)

[Out]

Integral(x**4*((a + b*x**2)**2)**p, x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(b^2*x^4+2*a*b*x^2+a^2)^p,x, algorithm="giac")

[Out]

integrate((b^2*x^4 + 2*a*b*x^2 + a^2)^p*x^4, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int x^4\,{\left (a^2+2\,a\,b\,x^2+b^2\,x^4\right )}^p \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4*(a^2 + b^2*x^4 + 2*a*b*x^2)^p,x)

[Out]

int(x^4*(a^2 + b^2*x^4 + 2*a*b*x^2)^p, x)

________________________________________________________________________________________